package com.eeprint.system.mapper.platform;

import com.eeprint.system.domain.platform.PlatformUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;

/**
 * @Author newhonor
 * @Date 2020/10/19 10:40
 * @Version 1.0
 **/
@Mapper
@Repository
public interface PlatformUserMapper {
    //根据电话查找租户的管理员
    public BigInteger findRelAdminUserIdByPhone(String tenantAdminPhone);
    //根据id查找平台用户
    public PlatformUser findPlatformUserById(BigInteger id);
    //更新平台用户密码
    public void updatePlatformUserPassword(PlatformUser platformUser);

}
